<div id="create-test-modal">
	<form id="create-exercise-form" action="{% url 'test.views.transform_to_test' test_type='exercise' page_id=page.id %}">
		{% csrf_token %}
	</form>

	<form id="create-progress-check-form" action="{% url 'test.views.transform_to_test' test_type='progress_check' page_id=page.id %}">
		{% csrf_token %}
	</form>

	It is possible to create a test by making the current page a test. This does not affect the content on the page.
	Questions will be added at the bottom of the page.

	<!-- Create Exercise on this Page -->
	<legend>Exercise</legend>
	<div class="control-group">
		<p>
			Create a test by making this page an exercise.
		</p>
		
		<button id="create-exercise"  type="button" class="btn btn-success">
			<i class="icon-plus icon-white"></i> Add exercise here
		</button>
		
	</div>

	<br />

	<legend>Progress Check</legend>
	<div class="control-group">
		<p>
			Create a test by making this page a progress check.
		</p>
		
		<button id="create-progress-check" type="button" class="btn btn-success">
			<i class="icon-plus icon-white"></i> Add progress check here
		</button>	
	</div>
</div>